package lab02.test14;


public class Test {

    public static void main(String[] args) {

        Shape s=new Rectangle(5,8);

        System.out.println("Rectangle类的面积为："+s.getArea());

        System.out.println("***************************");

        Shape area=new Circle(4);

        System.out.println("Circle类的面积为："+area.getArea());

    }
}


